package com.ctshk.rpc.order.custom.req.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 保单收据预览req
 * </p>
 *
 * @author 叶冠峰
 *@since 2021-03-02
 */
@Data
@ApiModel(value="保单收据预览req", description="保单收据预览req")
public class CustomOrderReceiptnsuranceDetailsPreviewReq implements Serializable {

    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty(value = "订单ID",required = true)
    private Long orderId;

    @NotNull(message = "保险ID不能为空")
    @ApiModelProperty(value = "保险ID",required = true)
    private Long insuranceId;

    @NotNull(message = "ID集合不能为空")
    @ApiModelProperty(value = "ID集合",required = true)
    private List<Long> idList;

    @ApiModelProperty(value = "数据来源（1：收款，2：收据）")
    private Integer dataSource;

    @NotNull(message = "币种ID不能为空")
    @ApiModelProperty(value = "币种ID",required = true)
    private Long currencyId;

    @NotNull(message = "请选择是否立即打印收据")
    @ApiModelProperty(value = "是否打印（0：否，1：是）",required = true)
    private Integer isPrint;

    @NotNull(message = "请选择是否使用pos机")
    @ApiModelProperty(value = "是否pos机（1：不使用，2：使用）",required = true)
    private Integer isPos;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

}
